package com.dayuanit.dy15.ebook.ebookadminbackoffice.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {

    @RequestMapping(value = "/user/toLogin")
    public String toLogin() {
        return "login";
    }

    @RequestMapping(value = "/user/toHome")
    public String toHome() {
        return "home";
    }

}
